package com.xlf.service.judge.exception;

import com.xlf.pojo.constant.Constants;
import lombok.Data;


@Data
public class RuntimeError extends Exception {

    /**
     * 当前状态
     */
    private Constants.Judge judgeCode;

    /**
     * 控制台报错信息
     */
    private String stderr;


    public RuntimeError(String message,Constants.Judge judgeCode, String stderr) {
        super(message);
        this.judgeCode = judgeCode;
        this.stderr = stderr;
    }
}
